package com.me.chat.pojo.user;

import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 获得用户普通信息的实体类
 * @Author VULCAN
 * @create 2020/2/17 20:39
 * @Des  User这个pojo是用来权限控制的，这个UserInfo是用来传递信息的
 */

@Data
@ToString
@NoArgsConstructor
@AllArgsConstructor
@JsonInclude(JsonInclude.Include.NON_EMPTY)
public class UserInfo implements Serializable {

    private String id;

    private String userName;

    private String avatar;

    private String selfComment;

    private Integer sex;
    
    private String showName;

    private LocalDateTime createdTime;

    private LocalDateTime updateTime;

}
